FROM digitalgenius/alpine-jdk
WORKDIR /var
RUN apk add tar curl bash
RUN  curl -L -o kooteam.tar.gz 'https://pangu.yimiyisu.com/home/download.do?app=kooteam&type=install'
RUN tar -zxvf kooteam.tar.gz -C /var && chmod -Rf 777 /var/*
EXPOSE 7053
CMD ["java","-jar","/var/kooteam.jar","7053"]